package com.gaoxinfu.demo.spring.cloud.jpa.customize.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @see com.gaoxinfu.demo.spring.cloud.jpa.customize.dto.response.BaseHeadResDTO#resultCode
 * @Description:
 * @Author: gaoxinfu
 * @Date: 7/7/21 08:04
 */
@Getter
@AllArgsConstructor
public enum ResultCodeEnum {

    SUCCESS("0","成功"),
    FAIL("1","失败"),
    EXCEPTION("-1","异常");

    private String code;
    private String desc;
}
